how to put tapping effect on card in flutter

203

GestureDetector(
  onTap: () => ......,
  child: Card(...),
);
Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
  ),
),

Comments

Submit
0 Comments